package org.example.Decorator.DecoratorPl;

public class ConcreateDecorator2 extends Decorator{
    public ConcreateDecorator2(Component component) {
        super(component);
    }

    @Override
    public void operation() {
        this.method2();
        super.operation();
    }

    public void method2(){
        System.out.println("第二次装饰");
    }


}
